{% extends "admin/base.html" %}
{% load i18n %}

{% block extrahead %}
  {{ block.super }}
  <style type="text/css">
  
a:link {
    color: #846e04;  
    text-decoration: underline; 
}

a:active {
    color: #ffa91a; 
    text-decoration: underline; 
}
a:visited {
    color: #846e04; 
    text-decoration: underline; 
}

a:hover {
    color: #846e04; 
    background:#ffa91a;
    text-decoration: none; 
}

a.section:link, a.section:visited {
    color: #846e04;
    text-decoration: underline;
}



#header a:visited {
    color:#846e04;
}

#header a:link {
  color: #846e04;
}

#header a:hover {
    color: #846e04;
}


#header { 
    vertical-align: top; 
    text-align: center;
    /*height: 105px; */
    background: #ffba48;
    float: auto;
    width: 100%;
    color: black;
    /* border: 1px red solid; */
    font-family:    Verdana, Arial, Helvetica, sans-serif;
}
     
#caption { 
    background: #ffba48;
}

#description { 
    background: #ffba48; 
}
    
#branding { 
    width:100%; 
    /*height: 0px; */
    /*position:static; */  
    vertical-align: top;  
    text-align:center;
    float:left;
    padding: 0 0 0 0px;
       /* padding: 0 0 0 0px; */
}
    
#branding h1 {
    color: #845404; 
    position: static;        
    font-size: 35px; 
    width:100%;
    vertical-align:top;
    text-align:center; 
    padding: 0 0 0 0px;
}

#branding h2 {
    color:#845404; 
}
    
#site-name {
    color: #845404;  
    width:100%; 
    text-align:center;
}
         
#user-tools { 
    /*font-size: 12px; */
    text-align:left;
    padding-top: 5px;
    padding-left: 10px;
    width:100%; 
    color: #845404; 
    background: #ffba48;
    position: static;    vertical-align: center;
    
     
    font-family:    Verdana, Arial, Helvetica, sans-serif;
    padding-right: 0px;
    padding-bottom: 10px;
    font-size: 12px;
}
    
.module h2, .module caption, .inline-group h2 {
    margin: 0;
    padding: 2px 5px 3px 5px;
    font-size: 11px;
    text-align: left;
    font-weight: bold;
    background: #ffba48 url(../img/admin/default-bg.gif) top left repeat-x;
    color: white;     
}

.menubar {
    width:  100%;
    height: 18px;
    /*margin-bottom: 2px; */
    background: #ffba48;
}

.menubar div {
    float: left;
    width: auto;
    color: white;
    /* border: 1px white solid;*/
    font-size: 15px;
     padding-left: 10px;
      padding-right: 10px; 
    background: #ffba48;
    /*border: 1px solid #666; */    
    /*color: #845404; */    
}

#container {    
    margin-left: 10%;
    margin-right: 10%; 
    padding: 0;
    width: 1200px; 
} 

.menubarfooter { 
    height: 10px;
    background: #ffe56d;
}

.menubar .edit
{
  background-color: #ffe56d;
}

.subheader {
    margin-top: 4px;
    height: 0px;
    float: auto;
    background: red;
    color: #ffffff; /* white */
}

.logo {
    float: left;
}

.banner {
    color: #845404;
    margin-left: auto;
    margin-right: auto;
    width: 900px;    
    padding-top: 12px;
    font-size: 35px;
    /*vertical-align: middle; */
    text-align: center;
  
    
}

.header2 {
    height: 70px;
    vertical-align: center;
    text-align: center;
    background: #ffba48; 
   color: #000000;
    /* border: 1px red solid; */
    font-family:    Verdana, Arial, Helvetica, sans-serif;
}

.footer {
    clear:      both;
    padding-top: 4px;
    padding-left: 6px;
    height: 24px;
    background: #ffe56d;
    color: #845404;
    font-size: 16px;
    /* border: 1px orange solid; */

}

  
</style>
  
{% endblock %}


{% block title %}{{ title }} | {% trans 'The Screen Media Research Archive' %}{% endblock %}

{% block branding %}
<div class="header">
            <span class="logo"><img src="/site_media/images/smra.jpg"></span>
            <span class="banner">The Screen Media Research Archive</span>
             
            <div class="subheader">
                
            </div>
            </div>  
            
<!--  <h1 id="site-name">{% trans 'The Screen Media Research Archive' %}</h1> -->
{% endblock %}

{% block nav-global %}
<div class="menubar">
    <div class="virts"><a href="{% url virts%}">My Collections</a></div>
 
                <div class="browse"><a href="{% url browse%}">Browse</a></div>
           {% if user.is_authenticated %} 
               {% if user.is_superuser %}
                <div class="edit"><a href="/smra/admin"><strong>Admin</strong></a></div>
               {% if deadlinks_num %}  <div class="links">
               <a href="{% url deadlinks %}"><strong>
                Dead Links ({{deadlinks_num}})</strong></a></div>{% endif%}
                {% else %}
               <div class="edit"><a href="/smra/admin">Edit</a></div>
               {% endif %}
               
                {% endif %}    
                <div class="about"><a href="{% url about %}">About</a></div>
            </div>
            

<div class="menubarfooter"></div>
{% endblock %}

{% block footer %}
<div class="footer">footer</div>
{% endblock %}
